// tabBarComponent/tabBar.js
const app = getApp()
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    tabbar: {
      type: Object,
      value: {
        "color": "#363636",
        "selectedColor": "#58b5f0",
        "backgroundColor": "#fff",
        "position": "bottom",
        "list": [
          {
            "pagePath": "/pages/index/index",
            "iconPath": "/images/index.png",
            "selectedIconPath": "/images/index_act.png",
            "text": "首页"
          },
          {
            "pagePath": "/pages/find/find",
            "iconPath": "/images/find.png",
            "selectedIconPath": "/images/find_act.png",
            "text": "发现"
          },
          {
            "pagePath": "/pages/mine/mine",
            "iconPath": "/images/mine.png",
            "selectedIconPath": "/images/mine_act.png",
            "text": "我的"
          }
        ]
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    // isIphoneX: app.globalData.systemInfo.model == "iPhone X" ? true : false,
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
